package com.sky.service.user.impl;

import com.sky.mapper.user.UserCategoryMapper;
import com.sky.pojo.Category;
import com.sky.service.user.UserCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class UserCategoryServiceImpl implements UserCategoryService {
    @Autowired
    private UserCategoryMapper userCategoryMapper;
    @Override
    public List<Category> list(Integer type) {
        return userCategoryMapper.list(type);

    }
}